package com.ctshk.rpc.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 李新科
 * @date 2021/5/18 13:48
 */
@Data
@Accessors(chain = true)
@ApiModel(value="UserCollectionBatchCancelReq对象", description="用户批量取消收藏req")
public class UserCollectionBatchCancelReq implements Serializable {

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="需要取消收藏的详情id数组",required = true)
    @NotEmpty(message = "ids不能为空")
    private List<Long> ids;
}
